import React from 'react'
import { useParams } from 'react-router-dom'
import Top from '@/components/Top'
import Recommend from './Recommend'

const Index = () => {
  let params = useParams()

  return (
    <div className="mhy-home">
      {params.id == 0 ? <Recommend /> : null}
      <Top />
    </div>
  )
}

export default Index
